.class public Lcom/netease/netstat/utils/Contanst;
.super Lcom/netease/mobistat/util/Constant;
.source "Contanst.java"


# static fields
.field public static final URL:Ljava/lang/String; = "http://c.3g.163.com/nc/article/headline/T1295501906343/0-20.html"

.field public static final URL_163:[Ljava/lang/String;

.field public static airline:Z

.field public static final checkflag:Ljava/lang/String;

.field public static checkstatistic:Lcom/netease/netstat/utils/CheckStatistic;

.field public static connectivity:Z

.field public static final dns:[Ljava/lang/String;

.field public static exception:Lcom/netease/netstat/utils/Exceptions;

.field public static exceptionobj:Lorg/json/JSONObject;

.field public static final landmarkServers:[Ljava/lang/String;

.field public static obj:Lorg/json/JSONObject;

.field public static statistic:Lcom/netease/netstat/utils/Statistic;


# direct methods
.method static constructor <clinit>()V
    .locals 8

    .prologue
    const/4 v7, 0x4

    const/4 v6, 0x3

    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 20
    new-instance v0, Lcom/netease/netstat/utils/CheckStatistic;

    invoke-direct {v0}, Lcom/netease/netstat/utils/CheckStatistic;-><init>()V

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->checkstatistic:Lcom/netease/netstat/utils/CheckStatistic;

    .line 22
    new-instance v0, Lcom/netease/netstat/utils/Statistic;

    invoke-direct {v0}, Lcom/netease/netstat/utils/Statistic;-><init>()V

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    .line 24
    new-instance v0, Lcom/netease/netstat/utils/Exceptions;

    invoke-direct {v0}, Lcom/netease/netstat/utils/Exceptions;-><init>()V

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->exception:Lcom/netease/netstat/utils/Exceptions;

    .line 26
    const/4 v0, 0x6

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "www.qq.com"

    aput-object v1, v0, v3

    const-string v1, "www.sina.com.cn"

    aput-object v1, v0, v4

    .line 27
    const-string v1, "www.baidu.com"

    aput-object v1, v0, v5

    const-string v1, "www.sohu.com"

    aput-object v1, v0, v6

    const-string v1, "www.ifeng.com"

    aput-object v1, v0, v7

    const/4 v1, 0x5

    const-string v2, "c.3g.163.com"

    aput-object v2, v0, v1

    .line 26
    sput-object v0, Lcom/netease/netstat/utils/Contanst;->dns:[Ljava/lang/String;

    .line 29
    const/16 v0, 0xb

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "220.181.8.57"

    aput-object v1, v0, v3

    .line 30
    const-string v1, "220.181.86.247"

    aput-object v1, v0, v4

    const-string v1, "220.181.86.249"

    aput-object v1, v0, v5

    const-string v1, "61.135.169.105"

    aput-object v1, v0, v6

    .line 31
    const-string v1, "12.130.132.30"

    aput-object v1, v0, v7

    const/4 v1, 0x5

    const-string v2, "202.106.195.30"

    aput-object v2, v0, v1

    const/4 v1, 0x6

    const-string v2, "61.135.67.36"

    aput-object v2, v0, v1

    const/4 v1, 0x7

    const-string v2, "61.55.178.251"

    aput-object v2, v0, v1

    const/16 v1, 0x8

    .line 32
    const-string v2, "210.192.120.228"

    aput-object v2, v0, v1

    const/16 v1, 0x9

    const-string v2, "61.135.253.303"

    aput-object v2, v0, v1

    const/16 v1, 0xa

    const-string v2, "c.3g.163.com"

    aput-object v2, v0, v1

    .line 29
    sput-object v0, Lcom/netease/netstat/utils/Contanst;->landmarkServers:[Ljava/lang/String;

    .line 34
    new-array v0, v4, [Ljava/lang/String;

    const-string v1, "c.3g.163.com"

    aput-object v1, v0, v3

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->URL_163:[Ljava/lang/String;

    .line 35
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "http://c.3g.163.com/stat/flag.html?"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->checkflag:Ljava/lang/String;

    .line 38
    sput-boolean v3, Lcom/netease/netstat/utils/Contanst;->airline:Z

    .line 40
    sput-boolean v3, Lcom/netease/netstat/utils/Contanst;->connectivity:Z

    .line 41
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->obj:Lorg/json/JSONObject;

    .line 42
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    sput-object v0, Lcom/netease/netstat/utils/Contanst;->exceptionobj:Lorg/json/JSONObject;

    .line 18
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 18
    invoke-direct {p0}, Lcom/netease/mobistat/util/Constant;-><init>()V

    return-void
.end method

.method public static getstatistic()Lcom/netease/netstat/utils/Statistic;
    .locals 1

    .prologue
    .line 295
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 296
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    .line 298
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static putStatisticsValue(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .parameter "key"
    .parameter "value"

    .prologue
    .line 372
    sget-object v1, Lcom/netease/netstat/utils/Contanst;->obj:Lorg/json/JSONObject;

    if-eqz v1, :cond_0

    .line 375
    :try_start_0
    sget-object v1, Lcom/netease/netstat/utils/Contanst;->exceptionobj:Lorg/json/JSONObject;

    invoke-virtual {v1, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 379
    :cond_0
    :goto_0
    return-void

    .line 376
    :catch_0
    move-exception v0

    .line 377
    .local v0, e:Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0
.end method

.method public static putValue(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .parameter "key"
    .parameter "value"

    .prologue
    .line 308
    sget-object v1, Lcom/netease/netstat/utils/Contanst;->obj:Lorg/json/JSONObject;

    if-eqz v1, :cond_0

    .line 310
    :try_start_0
    sget-object v1, Lcom/netease/netstat/utils/Contanst;->obj:Lorg/json/JSONObject;

    invoke-virtual {v1, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 314
    :cond_0
    :goto_0
    return-void

    .line 311
    :catch_0
    move-exception v0

    .line 312
    .local v0, e:Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0
.end method

.method public static setBrand(Ljava/lang/String;)V
    .locals 2
    .parameter "brand"

    .prologue
    .line 285
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 286
    :try_start_0
    const-string v0, "aid"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 285
    monitor-exit v1

    .line 288
    return-void

    .line 285
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setCause(Ljava/lang/String;)V
    .locals 2
    .parameter "cause"

    .prologue
    .line 335
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 336
    :try_start_0
    const-string v0, "cause"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putStatisticsValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 337
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->exception:Lcom/netease/netstat/utils/Exceptions;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Exceptions;->setCause(Ljava/lang/String;)V

    .line 335
    monitor-exit v1

    .line 339
    return-void

    .line 335
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setCellId(I)V
    .locals 3
    .parameter "cellid"

    .prologue
    .line 152
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 153
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 154
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setCellid(I)V

    .line 155
    const-string v0, "cid"

    invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 152
    :cond_0
    monitor-exit v1

    .line 158
    return-void

    .line 152
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setCellLoc(I)V
    .locals 3
    .parameter "cellloc"

    .prologue
    .line 165
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 166
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 167
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setCellloc(I)V

    .line 168
    const-string v0, "cloc"

    invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 165
    :cond_0
    monitor-exit v1

    .line 171
    return-void

    .line 165
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setCheckdownlink(Ljava/lang/Boolean;)V
    .locals 2
    .parameter "checkdownlink"

    .prologue
    .line 324
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 325
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->checkstatistic:Lcom/netease/netstat/utils/CheckStatistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/CheckStatistic;->setCheckdownlink(Ljava/lang/Boolean;)V

    .line 324
    monitor-exit v1

    .line 327
    return-void

    .line 324
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setChecktest(Ljava/lang/Boolean;)V
    .locals 2
    .parameter "checktest"

    .prologue
    .line 318
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 319
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->checkstatistic:Lcom/netease/netstat/utils/CheckStatistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/CheckStatistic;->setChecktest(Ljava/lang/Boolean;)V

    .line 318
    monitor-exit v1

    .line 321
    return-void

    .line 318
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setCname(Ljava/lang/String;)V
    .locals 2
    .parameter "cname"

    .prologue
    .line 359
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 360
    :try_start_0
    const-string v0, "cname"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putStatisticsValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 361
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->exception:Lcom/netease/netstat/utils/Exceptions;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Exceptions;->setClassName(Ljava/lang/String;)V

    .line 359
    monitor-exit v1

    .line 363
    return-void

    .line 359
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setConnectivity(Ljava/lang/String;)V
    .locals 2
    .parameter "connectivity"

    .prologue
    .line 139
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 140
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 141
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setConnectivity(Ljava/lang/String;)V

    .line 142
    const-string v0, "ctype"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 139
    :cond_0
    monitor-exit v1

    .line 145
    return-void

    .line 139
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setDate(Ljava/lang/String;)V
    .locals 2
    .parameter "date"

    .prologue
    .line 347
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 348
    :try_start_0
    const-string v0, "date"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putStatisticsValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 349
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->exception:Lcom/netease/netstat/utils/Exceptions;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Exceptions;->setTime(Ljava/lang/String;)V

    .line 347
    monitor-exit v1

    .line 351
    return-void

    .line 347
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setDns163(J)V
    .locals 3
    .parameter "time"

    .prologue
    .line 229
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 230
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 231
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0, p1}, Lcom/netease/netstat/utils/Statistic;->setDns163(J)V

    .line 232
    const-string v0, "dns163"

    invoke-static {p0, p1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 229
    :cond_0
    monitor-exit v1

    .line 235
    return-void

    .line 229
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setDnsAveragetime(F)V
    .locals 3
    .parameter "averagetime"

    .prologue
    .line 101
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 102
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 103
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setDnsaveragetime(F)V

    .line 104
    const-string v0, "dns"

    invoke-static {p0}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 101
    :cond_0
    monitor-exit v1

    .line 107
    return-void

    .line 101
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setGlobalip(Ljava/lang/String;)V
    .locals 2
    .parameter "globalip"

    .prologue
    .line 62
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 63
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 64
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setGlobalip(Ljava/lang/String;)V

    .line 65
    const-string v0, "gip"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 62
    :cond_0
    monitor-exit v1

    .line 68
    return-void

    .line 62
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setHttpgetlatency(I)V
    .locals 3
    .parameter "httpgetlatency"

    .prologue
    .line 215
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 216
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 217
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    int-to-float v2, p0

    invoke-virtual {v0, v2}, Lcom/netease/netstat/utils/Statistic;->setHttpgetlatency(F)V

    .line 218
    const-string v0, "http"

    invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 215
    :cond_0
    monitor-exit v1

    .line 221
    return-void

    .line 215
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setHttpgetlatency163(J)V
    .locals 3
    .parameter "httpgetlatency163"

    .prologue
    .line 260
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 261
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 262
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0, p1}, Lcom/netease/netstat/utils/Statistic;->setHttpgetlatency163(J)V

    .line 263
    const-string v0, "http163"

    invoke-static {p0, p1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 260
    :cond_0
    monitor-exit v1

    .line 266
    return-void

    .line 260
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setJson(J)V
    .locals 3
    .parameter "json"

    .prologue
    .line 242
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 243
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 244
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0, p1}, Lcom/netease/netstat/utils/Statistic;->setJson(J)V

    .line 245
    const-string v0, "json"

    invoke-static {p0, p1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 242
    :cond_0
    monitor-exit v1

    .line 248
    return-void

    .line 242
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setLocalip(Ljava/lang/String;)V
    .locals 2
    .parameter "localip"

    .prologue
    .line 49
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 50
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 51
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setLocalip(Ljava/lang/String;)V

    .line 52
    const-string v0, "lip"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 49
    :cond_0
    monitor-exit v1

    .line 55
    return-void

    .line 49
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setMcc(I)V
    .locals 2
    .parameter "mcc"

    .prologue
    .line 190
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 191
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 192
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setMcc(I)V

    .line 190
    :cond_0
    monitor-exit v1

    .line 195
    return-void

    .line 190
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setMnc(I)V
    .locals 2
    .parameter "mnc"

    .prologue
    .line 178
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 179
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 180
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setMnc(I)V

    .line 178
    :cond_0
    monitor-exit v1

    .line 183
    return-void

    .line 178
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setNetworktype(Ljava/lang/String;)V
    .locals 2
    .parameter "networktype"

    .prologue
    .line 126
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 127
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 128
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setNetworktype(Ljava/lang/String;)V

    .line 129
    const-string v0, "ntype"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 126
    :cond_0
    monitor-exit v1

    .line 132
    return-void

    .line 126
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setOperatername(Ljava/lang/String;)V
    .locals 2
    .parameter "operatername"

    .prologue
    .line 114
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 115
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 116
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setOperatename(Ljava/lang/String;)V

    .line 114
    :cond_0
    monitor-exit v1

    .line 119
    return-void

    .line 114
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setSignalStrength(I)V
    .locals 3
    .parameter "strength"

    .prologue
    .line 202
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 203
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 204
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setSignalstrength(I)V

    .line 205
    const-string v0, "signal"

    invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 202
    :cond_0
    monitor-exit v1

    .line 208
    return-void

    .line 202
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setTcpdownlink(F)V
    .locals 3
    .parameter "tcpdownlink"

    .prologue
    .line 75
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 76
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 77
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0}, Lcom/netease/netstat/utils/Statistic;->setTcpdownlink(F)V

    .line 78
    const-string v0, "dlink"

    invoke-static {p0}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 75
    :cond_0
    monitor-exit v1

    .line 81
    return-void

    .line 75
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setTcphandshake(J)V
    .locals 3
    .parameter "tcphandshake"

    .prologue
    .line 88
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 89
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 90
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    long-to-float v2, p0

    invoke-virtual {v0, v2}, Lcom/netease/netstat/utils/Statistic;->setTcphandshake(F)V

    .line 91
    const-string v0, "tcp"

    invoke-static {p0, p1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 88
    :cond_0
    monitor-exit v1

    .line 94
    return-void

    .line 88
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setTcphandshake163(J)V
    .locals 3
    .parameter "tcphandshake163"

    .prologue
    .line 251
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 252
    :try_start_0
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    if-eqz v0, :cond_0

    .line 253
    sget-object v0, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v0, p0, p1}, Lcom/netease/netstat/utils/Statistic;->setTcphandshake163(J)V

    .line 254
    const-string v0, "tcp163"

    invoke-static {p0, p1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 251
    :cond_0
    monitor-exit v1

    .line 257
    return-void

    .line 251
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public static setTime(Ljava/lang/String;)V
    .locals 2
    .parameter "time"

    .prologue
    .line 274
    const-class v1, Lcom/netease/mobistat/util/Constant;

    monitor-enter v1

    .line 275
    :try_start_0
    const-string v0, "time"

    invoke-static {v0, p0}, Lcom/netease/netstat/utils/Contanst;->putValue(Ljava/lang/String;Ljava/lang/String;)V

    .line 274
    monitor-exit v1

    .line 277
    return-void

    .line 274
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method
